package cn.lili.modules.system.service;

import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.system.entity.dos.Dictionary;
import cn.lili.modules.system.entity.params.DictionarySearchParams;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author wangfei
* @description 针对表【dictionry】的数据库操作Service
* @createDate 2023-07-27 15:28:03
*/
public interface DictionaryService extends IService<Dictionary> {

    List<Dictionary> dictionryList(String code, String data);

    List<Dictionary> dictionryListByCode(String code, Integer value);

    /**
     * 根据codeList查询字典，一次性查出
     * @param codes
     * @return
     */
    List<Dictionary> dictionryListByCodeList(List<String> codes);

    ResultMessage<Object> pageVo(DictionarySearchParams dictionarySearchParams);

    void check(Dictionary dictionary);

    Boolean change(String id, Integer status);

    Boolean getActivityPop ();
}
